projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bb9dba
)
(compilation-mode-font-lock-keywords): Fix test not to treat nil as a function.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 12 Apr 2004 04:36:01 +0000
(
04:36
+0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 12 Apr 2004 04:36:01 +0000
(
04:36
+0000)
lisp/progmodes/compile.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/compile.el
b/lisp/progmodes/compile.el
index 9d2544628d0d34c64752ba773ec5cee5e75f7b1e..de90c2aa37803dcad6c5d6bb5609607ededbe57c 100644
(file)
--- a/
lisp/progmodes/compile.el
+++ b/
lisp/progmodes/compile.el
@@
-679,7
+679,7
@@
Faces `compilation-error-face', `compilation-warning-face',
(if (consp line) (setq end-line (cdr line) line (car line)))
(if (consp col) (setq end-col (cdr col) col (car col)))
- (if (
symbol
p line)
+ (if (
function
p line)
;; The old compile.el had here an undocumented hook that
;; allowed `line' to be a function that computed the actual
;; error location. Let's do our best.